﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace AutorizacionViajesMVC.Models
{
    public class Area
    {
        [Required(ErrorMessage = "Ingrese Codigo")]
        public int cod_area { get; set; }
        [Required(ErrorMessage = "Ingrese Descripcion")]
        public string descripcion { get; set; }
        [Required(ErrorMessage = "Ingrese Responsable")]
        public string responsable { get; set; }
    }
}